var os = require('os')
var path = require('path')

// 获取当前机器的CPU信息
console.log(os.cpus())
// 获取内存
console.log(os.totalmem());

console.log(path.extname('./模块.js'))